package cn.tedu.bs.admin.service;

import cn.tedu.bs.admin.pojo.param.ProjectYearlyAddNewParam;
import cn.tedu.bs.admin.pojo.param.ProjectYearlyUpdateInfoParam;
import cn.tedu.bs.admin.pojo.vo.PageData;
import cn.tedu.bs.admin.pojo.vo.ProjectYearlyListItemVO;
import cn.tedu.bs.admin.pojo.vo.ProjectYearlyStandardVO;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.multipart.MultipartFile;

@Transactional
public interface IProjectYearlyService {
    /*
        项目年统计接口
     */
    void addNew(ProjectYearlyAddNewParam projectYearlyAddNewParam, MultipartFile file);
    void deleteById(Long id);
    void updateInfoById(Long id, ProjectYearlyUpdateInfoParam projectYearlyUpdateInfoParam,MultipartFile file);
    ProjectYearlyStandardVO getStandardById(Long id);
    PageData<ProjectYearlyListItemVO> list(Integer pageNum);
    PageData<ProjectYearlyListItemVO> list(Integer pageNum, Integer pageSize);
    PageData<ProjectYearlyListItemVO> getListByProjectName(Integer pageNum, Integer pageSize,String projectName);

}
